package org.linlinjava.litemall.admin.vo.shop;

import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/8/20 16:52
 */
public class GloudWarehouseInventoryManagementVo {

        @NotNull(message = "仓库id不能为空")
        private Integer warehouseId;


        private String commodityName;


        private CommodityType commodityType;

        private Integer commodityState;

        @NotNull(message = "当前页码不能为空")
        @Min(value = 1,message = "当前页码不能小于1")
        private Integer page;

        @NotNull(message = "每页显示条目不能为空")
        @Min(value = 0,message = "每页显示条目不能小于0")
        private Integer limit;

        public Integer getWarehouseId() {
                return warehouseId;
        }

        public void setWarehouseId(Integer warehouseId) {
                this.warehouseId = warehouseId;
        }

        public String getCommodityName() {
                return commodityName;
        }

        public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
        }

        public CommodityType getCommodityType() {
                return commodityType;
        }

        public void setCommodityType(CommodityType commodityType) {
                this.commodityType = commodityType;
        }

        public Integer getCommodityState() {
                return commodityState;
        }

        public void setCommodityState(Integer commodityState) {
                this.commodityState = commodityState;
        }

        public Integer getPage() {
                return page;
        }

        public void setPage(Integer page) {
                this.page = page;
        }

        public Integer getLimit() {
                return limit;
        }

        public void setLimit(Integer limit) {
                this.limit = limit;
        }
}
